Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: authentication cannot disable #30

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

ryanbekhen
Copy link
Owner

Refactored StaticCredentialStore to use a struct with a map instead of a plain map, adding methods for better encapsulation. Updated credentials handling for proper initialization and improved password storage using bcrypt hashing.

Refactored StaticCredentialStore to use a struct with a map instead
of a plain map, adding methods for better encapsulation. Updated
credentials handling for proper initialization and improved password
storage using bcrypt hashing.
@ryanbekhen ryanbekhen changed the title fix(deps): refactor StaticCredentialStore initialization fix: authentication cannot disable Dec 13, 2024
Refactored the `StaticCredentialStore` to support the `Add` method for dynamic credential addition. Updated dependent tests and modules to align with the new implementation. Removed bcrypt hashing in `Add` for simpler password management, relying on plaintext for now.
@ryanbekhen ryanbekhen added the bug Something isn't working label Dec 13, 2024
@ryanbekhen ryanbekhen merged commit 207d5c9 into master Dec 13, 2024
4 checks passed
@ryanbekhen ryanbekhen deleted the fix/cannot-disable-auth branch December 13, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant